package global

import (
	"gorm.io/gorm"
	"time"
)

type GVA_MODEL struct {
	ID        uint           `gorm:"primarykey"` // 主键ID
	CreatedAt time.Time      // 创建时间
	UpdatedAt time.Time      // 更新时间
	DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` // 删除时间
}

type ReqModel struct {
	Input    string `json:"input" form:"input" gorm:"column:input;comment:模型输入;type:text;"`
	ReqState int    `json:"reqState" form:"reqState" gorm:"default:0;column:req_state;comment:请求的状态;type:smallint;"`
}
